/*
	This class represents the areas defined in an environment. An area is a polygon that consists of a set of points (coordinates)
*/

import java.util.Vector;

class Area{

	protected String identificator;
	protected Vector<Point> v_points;

	public Area(String identificator){
		this.identificator = identificator;	
		this.v_points = new Vector();
	}

	public void addPoint(Point p){
		this.v_points.add(p);	
	}

	public int getNumberOfPoints(){return this.v_points.size();}
	public Point getPointAtPosition(int position){return this.v_points.elementAt(position);}
	public String getIdentificator(){return this.identificator;}
	
	

}
